home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4091 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.2 KB

  1. Path: zorn.mnet.medstroms.se!news
  2. From: Pendo Lofgren <Pendo.Lofgren@allgon.se>
  3. Newsgroups: comp.lang.c++
  4. Subject: DLL <-> Application communication
  5. Date: Sat, 27 Jan 1996 22:53:35 +0000
  6. Organization: Pendo Lofgren Knowledge Resources
  7. Message-ID: <310AACEF.2559@allgon.se>
  8. NNTP-Posting-Host: 14.ts1.mnet.medstroms.se
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b5 (Win95; I)
  13. CC: Pendo.Lofgren@allgon.se
  14.  
  15. I have two questions regarding DLL:s that I would be most grateful if 
  16. anyone out there could give me some advice on.
  17.  
  18. The first one is: 
  19.         Is it possible to call a 16-bit DLL from a 32-bit Win NT 
  20.         application? (We want to use the Paradox 16-bit database 
  21.         engine DLL for our Win NT program...)
  22.  
  23. The second one: 
  24.         Which is the best way to establish a two-way         
  25.         communication between a DLL and an application? That is: 
  26.         How can we make the DLL call back into the application 
  27.         and not    only the other way around? Is it possible to 
  28.         give the DLL a pointer to a function within the 
  29.         application and use that? Is this really safe? Do we 
  30.         have to use DDE?
  31.  
  32.  
  33. Thanks for your help in advance,
  34.  
  35.     /*** Pendo Lofgren (pendo.l@mn.medstroms.se, 
  36.                 Pendo.Lofgren@allgon.se) ***/
  37.